<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Saves the SDO_DAS_XML_Document object to a string</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo-das-xml.savefile.html">SDO_DAS_XML::saveFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml-document.getrootdataobject.html">SDO_DAS_XML_Document::getRootDataObject</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="sdo-das-xml.savestring" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">SDO_DAS_XML::saveString</h1>
  <p class="verinfo">(^)</p><p class="refpurpose"><span class="refname">SDO_DAS_XML::saveString</span> &mdash; <span class="dc-title">
   Saves the SDO_DAS_XML_Document object to a string
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-sdo-das-xml.savestring-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">string</span> <span class="methodname"><strong>SDO_DAS_XML::saveString</strong></span>
    ( <span class="methodparam"><span class="type"><span class="type SDO_XMLDocument">SDO_XMLDocument</span></span> <code class="parameter">$xdoc</code></span>
   [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$indent</code></span>
  ] )</div>


  <p class="para rdfs-comment">
   Saves the SDO_DAS_XML_Document object to string.
  </p>

 </div>

 <div class="refsect1 parameters" id="refsect1-sdo-das-xml.savestring-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>

      <em><code class="parameter">xdoc</code></em>
     </dt>

     <dd>

      <p class="para">
       SDO_DAS_XML_Document object.
      </p>
     </dd>

    
    
     <dt>

      <em><code class="parameter">indent</code></em>
     </dt>

     <dd>

      <p class="para">
       Optional argument to specify that the xml should be formatted. A non-negative integer is
       the amount to indent each level of the xml. So, the integer 2, for example, will indent 
       the xml so that each contained element is two spaces further to the right than its
       containing element. The integer 0 will cause the xml to be completely left-aligned. 
       The integer -1 means no formatting - the xml will come out on one long line. 
      </p>
     </dd>

    
   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-sdo-das-xml.savestring-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   xml string.
  </p>
 </div>


 


 


 


 


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="sdo-das-xml.savefile.html">SDO_DAS_XML::saveFile</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="sdo-das-xml-document.getrootdataobject.html">SDO_DAS_XML_Document::getRootDataObject</a></div>
 <div class="up"><a href="ref.sdo-das-xml.html">SDO DAS XML 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
